package ${servicePackage};

import java.util.List;
import java.util.Map;
import ${voPackage}.${className}VO;


public interface ${className}Service {

	${className}VO findBy${pk.attrName}(${pk.attrType} ${pk.attrname});

<#list keys as key>
    ${className}VO findBy${key.attrName}(${key.attrType} ${key.attrname});
</#list>

    List<${className}VO> list(Map<String, Object> params, Integer pageNum, Integer pageSize);

    int deleteBy${pk.attrName}(${pk.attrType} ${pk.attrname});

    int update(${className}VO ${classname});

    int save(${className}VO ${classname});

}
